<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>启动</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	</head>
	<body>		
		<div style="position:absolute;width:100%;height:100vh;left:0px;top:0px;background: url(img/login/loginBg.png) no-repeat;background-size:100%;">
			<p style="font-size:18px;color:#fff;line-height: 100vh;text-align: center;">正在启动经销商</p>
		</div>
		
	</body>
	<script src="js/resize.js"></script>
		<script src="js/mui.min.js"></script>
		<script src="js/app.js"></script>
		<script src="js/ajaxFun.js"></script>
		<!--<script src="js/update.js"></script>-->
		<script type="text/javascript" charset="utf-8">
			(function($, doc) {				
				$.plusReady(function() {
					var users = JSON.parse(localStorage.getItem('$users') || '[]');
					if(users.loginID && users.userName) {  
						plus.webview.open('app/home/index.html','homeIndex')
					}else{
						plus.webview.open('login.html','login')
					}
				})
				setInterval(function(){
					var url = baseUrl + 'traderInfoController/getInfo.do';
					ajaxFun.postFun(url, '', '', function(data) {},function(){},function(){
						localStorage.clear();
						openWindow('./login.html','login');
					});
				},30000);
			}(mui, document))
		</script>
</html>
